
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'dbo.CustomerUpdated_dyncrm'))
EXEC dbo.sp_executesql @statement = N'DROP TRIGGER dbo.CustomerUpdated_dyncrm'
GO




IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'dbo.CustomerAttributeInserted_dyncrm'))
EXEC dbo.sp_executesql @statement = N'DROP TRIGGER dbo.CustomerAttributeInserted_dyncrm'
GO

IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'dbo.CustomerAttributeUpdated_dyncrm'))
EXEC dbo.sp_executesql @statement = N'DROP TRIGGER dbo.CustomerAttributeUpdated_dyncrm'
GO




IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'dbo.NewsLetterSubscriptionInserted_dyncrm'))
EXEC dbo.sp_executesql @statement = N'DROP TRIGGER dbo.NewsLetterSubscriptionInserted_dyncrm'
GO

IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'dbo.NewsLetterSubscriptionUpdated_dyncrm'))
EXEC dbo.sp_executesql @statement = N'DROP TRIGGER dbo.NewsLetterSubscriptionUpdated_dyncrm'
GO




IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'dbo.OrderInserted_dyncrm'))
EXEC dbo.sp_executesql @statement = N'DROP TRIGGER dbo.OrderInserted_dyncrm'
GO

IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'dbo.OrderUpdated_dyncrm'))
EXEC dbo.sp_executesql @statement = N'DROP TRIGGER dbo.OrderUpdated_dyncrm'
GO




